﻿CREATE PROCEDURE [dbo].[WorkflowTriggerUpdate]
(@ComponentID UniqueIdentifier,
@IsActive bit,
@ActivatedOn datetime,
@Span varchar(255),
@LastRunTime datetime,
@NextRunTime datetime) 
AS
begin
	Update WorkflowTrigger 
	set
		IsActive=@IsActive,
		ActivatedOn=@ActivatedOn,
		Span=@Span,
		LastRunTime=@LastRunTime,
		NextRunTime=@NextRunTime
	where
		ComponentID=@ComponentID;
end